package com.arcsoft.commonbase.bean

import com.flyco.tablayout.listener.CustomTabEntity

/**
 * 创建人:雷富
 * 创建时间:2018/8/16 10:26
 * 描述:
 */

class TabBean : CustomTabEntity {

    var title: String = ""
    var selectedIcon = 0
    var unSelectedIcon = 0

    constructor(title: String) {
        this.title = title
    }


    constructor(title: String, selectedIcon: Int, unSelectedIcon: Int) {
        this.title = title
        this.selectedIcon = selectedIcon
        this.unSelectedIcon = unSelectedIcon
    }

    override fun getTabTitle(): String {
        return title
    }

    override fun getTabSelectedIcon(): Int {
        return selectedIcon
    }

    override fun getTabUnselectedIcon(): Int {
        return unSelectedIcon
    }
}
